package com.qin.springbootdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Leisure
 * create 2022 2022/6/18 10:03
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class goods {
    @Id
    int goods_id;
    int goodsID;
    int currentPrice;
    int originalPrice;
    List<String> detailsImages;

    List<String> detailsText;
    @Field
    String goodsTitle;

    List<String> swiperImages;

    ArrayList<options> options =  new ArrayList<options>();
}
